import { gql } from 'react-apollo';

export default gql`
{
  getTweets {
    _id,
    text,
    createdAt,
    favouriteCount,
    isFavourite,
    user {
      username
      firstName
      lastName
      avatar
    }
  }
}
`;
